﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
using DOAN.DLL;
using DOAN.Public;

namespace DOAN.BLL
{
    public class HoaDonBLL
    {
        HoaDonDAL _hoaDon;

        public HoaDonBLL()
        {
            _hoaDon = new HoaDonDAL();
        }

        public DataTable Load()
        {
            return _hoaDon.Load();
        }

        public int Insert(HoaDonPublic p)
        {

            return _hoaDon.Insert(p);
        }

        public int Update(HoaDonPublic p)
        {
            return _hoaDon.Update(p);
        }

        public int Delete(HoaDonPublic p)
        {
            return _hoaDon.Delete(p);
        }
    }
}
